# $Id: Makefile,v 1.2 2004/11/23 12:36:34 sby Exp $

.include "../../include/mythbbs.mk"

CFLAGS+= -D_BBS_UTIL_C_ -I$(BBSHOME)/mythbbs/myth

.SUFFIXES: .o .c

.c:	; $(CCACHE) $(CC) -o $@ $@.c $(CFLAGS) $(LDFLAGS)

TOOL =	brdshmctl camera from_loader shmctl

all: 	$(TOOL)

install: $(TOOL)
	install -d $(BBSHOME)/bin/
	install -c -m 755 $(TOOL) $(BBSHOME)/bin/

clean:
	rm -fr $(TOOL) *.o *.BAK *.log *~

